package com.dsg.entity.oil;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 油咭限额
 * </p>
 *
 * @author system
 * @since 2020-07-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("dsg_oil_limit")
@ApiModel(value="DsgOilLimit对象", description="油咭限额")
public class DsgOilLimit implements Serializable {

    private static final long serialVersionUID = 1L;

    public static final String OIL_COM_ESSO = "Esso";
    public static final String OIL_COM_CALTEX = "Caltex";

    @ApiModelProperty(value = "主鍵")
    @TableId("OID")
    private String oid;

    @ApiModelProperty(value = "企業編碼")
    @TableField("ENT_CODE")
    private String entCode;

    @ApiModelProperty(value = "油公司")
    @TableField("OIL_COM")
    private String oilCom;

    @ApiModelProperty(value = "Profile ID")
    @TableField("PROFILE_ID")
    private Integer profileId;

    @ApiModelProperty(value = "限制等级")
    @TableField("LIMIT_LEVEL")
    private Integer limitLevel;

    @ApiModelProperty(value = "每日限额")
    @TableField("FUEL_DAILY")
    private Integer fuelDaily;

    @ApiModelProperty(value = "每周限额")
    @TableField("FUEL_WEEKLY")
    private Integer fuelWeekly;

    @ApiModelProperty(value = "每月限额")
    @TableField("FUEL_MONTHLY")
    private Integer fuelMonthly;

    @ApiModelProperty(value = "类型")
    @TableField("CALTEX_TYPE")
    private Integer caltexType;

    @ApiModelProperty(value = "值")
    @TableField("CALTEX_VALUE")
    private Integer caltexValue;

    @ApiModelProperty(value = "創建人")
    @TableField("CREATER")
    private String creater;

    @ApiModelProperty(value = "創建時間")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    @TableField("UPDATER")
    private String updater;

    @ApiModelProperty(value = "更新時間")
    @TableField("UPDATE_TIME")
    private Date updateTime;


}
